import type { Ref } from "vue";
import type { LoginParams, UserInfo } from "@/types/userTypes/userTypes.ts";

export interface userStoreInterface {
   userInfo: Ref<UserInfo>;
   userNameLogin: (data: LoginParams) => Promise<string>;
   logout: () => Promise<string>;
   sendCode: (mobile: string) => Promise<string>;
   qqBindSendCode: (mobile: string) => Promise<string>;
   userMobileLogin: (data: LoginParams) => Promise<string>;
   userQQLogin: (unionId: string, source: number) => Promise<string>;
   qqBindMobile: (mobile: string, code: string, unionId: string) => Promise<string>;
}
